import {QueryFiledUtil} from '@/utils'
import {DictOptions} from "@/libs/options";


export const PIG_SEARCH = [
    QueryFiledUtil.setInputField('code', '猪仔代码'),
    QueryFiledUtil.setInputField('name', '猪仔名称'),
    QueryFiledUtil.setInputField('rfid', '耳标MAC'),
    QueryFiledUtil.setInputField('memberPhone', '玩家手机号'),
    QueryFiledUtil.setInputField('pigsty', '所属猪圈'),
    QueryFiledUtil.setInputField('breed', '猪仔档案'),
    QueryFiledUtil.setInputField('status', '猪仔状态'),
]
export const CHICKEN_SEARCH = [
    QueryFiledUtil.setInputField('code', '鸡蛋批次'),
    QueryFiledUtil.setDictUrlField('state', '鸡蛋状态',DictOptions.ChickenState),
]

export const PLAN_SEARCH = [
    QueryFiledUtil.setInputField('eatDate', '预计投喂日期'),
    QueryFiledUtil.setInputField('eatTime', '预计投喂时间'),
    QueryFiledUtil.setInputField('combo', '套餐名称'),
    QueryFiledUtil.setInputField('phoneNumber', '玩家手机号'),
    QueryFiledUtil.setInputField('status', '投喂状态'),
]

export const PROPS_SEARCH = [
    QueryFiledUtil.setInputField('member', '会员名称'),
    QueryFiledUtil.setDictUrlField('kind', '物品类型',DictOptions.PropsKind)
]

export const USE_SEARCH = [
    QueryFiledUtil.setInputField('phoneNumber', '手机号'),
    QueryFiledUtil.setInputField('workOrder', '消费的工单号'),
    QueryFiledUtil.setDictUrlField('kind', '订单消费类型',DictOptions.PigUseKind),
    QueryFiledUtil.setDictUrlField('status', '消费的状态',DictOptions.PigUseState)
]
